package li.rafa.UrlShortener.client;

import li.rafa.UrlShortener.shared.ShortUrl;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("url")
public interface UrlService extends RemoteService {
	ShortUrl getShortenedUrl(String originalUrl, String optionalKeyWord);
}
